package com.test.web.service;

import com.test.web.dao.DlDao;
import com.test.web.entity.Dl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author heyanjing
 * date:2020-08-08 2020/8/8:11:54
 */
@Service
public class DlService {

    @Resource
    private DlDao dlDao;


    public int deleteByPrimaryKey(String id) {
        return dlDao.deleteByPrimaryKey(id);
    }


    public int insert(Dl record) {
        return dlDao.insert(record);
    }


    public int insertOrUpdate(Dl record) {
        return dlDao.insertOrUpdate(record);
    }


    public int insertOrUpdateSelective(Dl record) {
        return dlDao.insertOrUpdateSelective(record);
    }


    public int insertSelective(Dl record) {
        return dlDao.insertSelective(record);
    }


    public Dl selectByPrimaryKey(String id) {
        return dlDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(Dl record) {
        return dlDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(Dl record) {
        return dlDao.updateByPrimaryKey(record);
    }


    public int updateBatch(List<Dl> list) {
        return dlDao.updateBatch(list);
    }


    public int batchInsert(List<Dl> list) {
        return dlDao.batchInsert(list);
    }

}




